package interfaceService;

import essenceClasses.CurrentTask;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by User on 01.06.14.
 */
public interface ICurrentTaskService {
    public boolean addCurrentTask(int taskID, int creatorID, String status, int recepientID) throws SQLException;

    public List<CurrentTask> getCurrentTasksById(int taskID) throws SQLException;

    public List<CurrentTask> getCurrentTasksByCreatorId(int id) throws SQLException;

    public List<CurrentTask> getCurrentTasksByRecepientId(int id) throws SQLException;

    public boolean deleteCurrentTaskById(int id) throws SQLException;

    public boolean changeStateCurrentTaskById(int id, int state) throws SQLException;
}
